Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: Updates expiration paramater in presign functions to TimeInterval type. #805

Merged
merged 5 commits into from
Jan 5, 2023

Conversation

epau
Copy link
Contributor

@epau epau commented Jan 5, 2023

After the upgrade to CRT 0.5.0+, the type of expiration changed from Int64 to TimeInterval.
Therefore, services that define presign functions (such as S3) fail to build because of the type mistmatch.

IMO it makes sense to update the type exposed in the functions to TimeInterval since TimeInterval is a better way to describe a value that should be in seconds.

Issue #

#804

Description of changes

New/existing dependencies impact assessment, if applicable

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@epau epau requested review from jbelkins and ganeshnj January 5, 2023 15:49
@epau
Copy link
Contributor Author

epau commented Jan 5, 2023

Will regenerate models after this is merged.

Base automatically changed from epau/chore/generate-package to main January 5, 2023 21:56
@epau epau force-pushed the epau/fix/crt-breaking-changes branch from 7a46af8 to 616a3b8 Compare January 5, 2023 22:21
@epau epau requested a review from ganeshnj January 5, 2023 22:36
@epau epau merged commit 7a46c98 into main Jan 5, 2023
@epau epau deleted the epau/fix/crt-breaking-changes branch January 5, 2023 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants